import React, { Component } from 'react'
import { connect } from 'react-redux'
import { project as projectDuck } from 'ducks'

class JudgeTask extends Component {
  componentDidMount = () => {
    const { actionSetActiveTaskTab } = this.props
    actionSetActiveTaskTab('judge')
  }

  render() {
    return <div>JudgeTask</div>
  }
}

const mapDispatchToProps = {
  actionSetActiveTaskTab: projectDuck.creators.actionSetActiveTaskTab,
}

export default connect(
  null,
  mapDispatchToProps,
)(JudgeTask)
